package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * task_data对象 gx_task_data
 * 
 * @author ruoyi
 * @date 2022-04-24
 */
public class GxTaskData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评定数据表编号 */
    private Long taskId;

    /** 患者编号 */
    @Excel(name = "患者编号")
    private Long patientId;

    /**  就诊编号 */
    @Excel(name = "就诊编号")
    private Long clinicId;

    /** 评定数据编号 */
    private Long dataId;

    /** 评定数据 */
    @Excel(name = "评定数据")
    private String assessData;

    /** 评定配置 */
    @Excel(name = "评定配置")
    private String assessConfig;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private String patientGender;

    /** 患者身份证号 */
    @Excel(name = "患者身份证号")
    private String patientIdentityNo;

    /** 病情摘要 */
    @Excel(name = "病情摘要")
    private String illnessSummary;

    /** 既往史 */
    @Excel(name = "既往史")
    private String preHistory;

    /** 诊断 */
    @Excel(name = "诊断")
    private String preDiagnose;

    /** 患者年龄 */
    @Excel(name = "患者生日")
    private Long patientAge;

    /** 主治医生编号 */
    @Excel(name = "主治医生编号")
    private Long masterId;

    /** 主治医生姓名 */
    @Excel(name = "主治医生姓名")
    private String masterName;

    /** 评估医生编号 */
    @Excel(name = "评估医生编号")
    private Long doctorId;

    /** 评估医生姓名 */
    @Excel(name = "评估医生姓名")
    private String doctorName;

    /** 评定表编号 */
    @Excel(name = "评定表编号")
    private Long assessId;

    /** 评定表名称 */
    @Excel(name = "评定表名称")
    private String assessName;

    /** 评定阶段 */
    @Excel(name = "评定阶段")
    private String phase;

    /** 评定阶段 */
    @Excel(name = "评定阶段")
    private String phaseCount;

    /** 评定状态 */
    @Excel(name = "评定状态")
    private String status;

    /** 个数 */
    @Excel(name = "个数")
    private String number;

    /** 是否收费 */
    @Excel(name = "是否收费")
    private String charge;

    /** 跳转表名 */
    @Excel(name = "跳转表名")
    private String jumpTableName;

    private String timeWeek;
    private String timeWeekDone;

    public String getTimeWeekDone() {
        return timeWeekDone;
    }

    public void setTimeWeekDone(String timeWeekDone) {
        this.timeWeekDone = timeWeekDone;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date assessTime;



    public Long getDataId() { return dataId; }
    public void setDataId(Long dataId) {this.dataId = dataId;}

    public Long getClinicId() {
        return clinicId;
    }

    public void setClinicId(Long clinicId) {
        this.clinicId = clinicId;
    }

    public String getAssessName() {
        return assessName;
    }

    public void setAssessName(String assessName) {
        this.assessName = assessName;
    }

    public String getMasterName() {
        return masterName;
    }

    public void setMasterName(String masterName) {
        this.masterName = masterName;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setMasterId(Long masterId)
    {
        this.masterId = masterId;
    }

    public Long getMasterId() 
    {
        return masterId;
    }
    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }
    public void setAssessId(Long assessId) 
    {
        this.assessId = assessId;
    }

    public Long getAssessId() 
    {
        return assessId;
    }
    public void setPhase(String phase) 
    {
        this.phase = phase;
    }

    public String getPhase() 
    {
        return phase;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }
    public void setCharge(String charge)
    {
        this.charge = charge;
    }

    public String getStatus()
    {
        return status;
    }
    public String getCharge()
    {
        return charge;
    }

    public String getTimeWeek()
    {
        return timeWeek;
    }
    public void setTimeWeek(String timeWeek)
    {
        this.timeWeek = timeWeek;
    }

    public Date getAssessTime()
    {
        return assessTime;
    }
    public void setAssessTime (Date assessTime)
    {
        this.assessTime = assessTime;
    }


    public String getAssessData(){return assessData;}
    public void setAssessData(String assessData){this.assessData = assessData;}

    public String getAssessConfig(){return assessConfig;}
    public void setAssessConfig(String assessConfig){this.assessConfig = assessConfig;}

    public String getNumber(){return number;}
    public void setNumber(String number){this.number = number;}

    public String getPhaseCount() {
        return phaseCount;
    }

    public void setPhaseCount(String phaseCount) {
        this.phaseCount = phaseCount;
    }

    public String getPatientGender() {
        return patientGender;
    }

    public void setPatientGender(String patientGender) {
        this.patientGender = patientGender;
    }

    public String getPatientIdentityNo() {
        return patientIdentityNo;
    }

    public void setPatientIdentityNo(String patientIdentityNo) {
        this.patientIdentityNo = patientIdentityNo;
    }

    public String getIllnessSummary() {
        return illnessSummary;
    }

    public void setIllnessSummary(String illnessSummary) {
        this.illnessSummary = illnessSummary;
    }

    public String getPreHistory() {
        return preHistory;
    }

    public void setPreHistory(String preHistory) {
        this.preHistory = preHistory;
    }

    public String getPreDiagnose() {
        return preDiagnose;
    }

    public void setPreDiagnose(String preDiagnose) {
        this.preDiagnose = preDiagnose;
    }

    public Long getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(Long patientAge) {
        this.patientAge = patientAge;
    }

    public String getJumpTableName() {
        return jumpTableName;
    }

    public void setJumpTableName(String jumpTableName) {
        this.jumpTableName = jumpTableName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("patientId", getPatientId())
            .append("masterId", getMasterId())
            .append("doctorId", getDoctorId())
            .append("assessId", getAssessId())
            .append("assessName", getAssessName())
            .append("clinicId", getClinicId())
            .append("masterName", getMasterName())
            .append("doctorName", getDoctorName())
            .append("patientName", getPatientName())
            .append("phase", getPhase())
            .append("phaseCount", getPhaseCount())
            .append("status", getStatus())
            .append("charge", getCharge())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("assessTime", getAssessTime())
            .append("timeWeek",getTimeWeek())
            .append("timeWeekDone",getTimeWeekDone())
            .append("dataId",getDataId())
            .append("assessData",getAssessData())
            .append("assessConfig",getAssessConfig())
            .append("number",getNumber())
            .append("patientGender", getPatientGender())
            .append("patientAge", getPatientAge())
            .append("patientIdentityNo", getPatientIdentityNo())
            .append("illnessSummary", getIllnessSummary())
            .append("preHistory", getPreHistory())
            .append("preDiagnose", getPreDiagnose())
            .toString();
    }
}
